package com.huopaolan.yohuoshop.Mvp.Model;

import com.huopaolan.lib_core.Http.MResponseManager;
import com.huopaolan.lib_core.Mvp.Model.BaseModel;
import com.huopaolan.yohuoshop.Bean.ShowEntity;
import com.huopaolan.yohuoshop.Mvp.Contract.MyFragmentContract;
import com.huopaolan.yohuoshop.NetWork.API;

import javax.inject.Inject;

import io.reactivex.Observable;

public class MyFragmentModel extends BaseModel implements MyFragmentContract.MyIModel {
    @Inject
    public MyFragmentModel() {}

    @Override
    public Observable<ShowEntity> my_request(String request) {
        return MResponseManager.obtainRetrofit(API.class).show_list_request(request);
    }

    @Override
    public void destroy() {

    }
}
